//
//  LoginFootView.swift
//  PhotoLine
//
//  Created by 吴帅 on 17/9/14.
//  Copyright © 2017年 PhotoLine. All rights reserved.
//

import UIKit

class LoginFootView: UIView {

    var loginButton:LoginButton?;
    override init(frame: CGRect) {
        super.init(frame: frame)
        setUpSubView();
    }
    
    func setUpSubView() {
        loginButton = LoginButton.init(frame:CGRect.init(x: 30, y: 25, width: SCREEN_WIDTH-100, height: 44));
        loginButton?.backgroundColor = UIColor(red:0.22, green:0.2, blue:0.28, alpha:1);
        loginButton?.setTitle("log In", for: UIControlState.normal);
        loginButton?.setTitleColor(UIColor.white, for: UIControlState.normal);
        loginButton?.titleLabel?.font = UIFont.systemFont(ofSize: 13);
        self.addSubview(loginButton!);
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
